﻿using Msung.Core;
using Oracle.ManagedDataAccess.Client;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JobService
{
    public class DapperFactory

    {

        public static readonly string connectionString = AppSetting.MultiDbs[0].ConnectionString;

        public static OracleConnection CrateOracleConnection()
        {
            var connection = new OracleConnection(connectionString);
            connection.Open();
            return connection;
        }

    }
}
